package dongze.com.ckdj.data.webinterface;

import dongze.com.ckdj.BuildConfig;
import dongze.com.ckdj.data.entity.response.UploadImageResponse;
import okhttp3.MultipartBody;
import retrofit2.Call;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;

/**
 * Created by fanqwz on 2017/8/16.
 */

public interface ImageUploadInterface {
    String BASE_URL =
            "http://180.166.220.28:8080/"; // 生产

    @Multipart
    @POST("webapp/sys/upload/upload.do")
    Call<UploadImageResponse> uploadImage(@Part MultipartBody.Part file);

}
